package com.marktotop.vo;

import com.marktotop.validation.IsMobile;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * LoginVO 登录参数
 *
 * @author WXLD
 * @Data 2021/6/18
 * @Since 1.0
 */
@Data
public class LoginVO {

    @NotNull
    @IsMobile
    private String mobile;

    @NotNull
    @Length(min = 32)
    private String password;
}
